
import request from '@/utils/request';

// 查询列表
export async function queryMenuList(params) {
  return request('/s/menu/queryMenuTreeList', {
    method: 'POST',
    data: params,
  });
}

// 修改
export async function updateMenuList(params) {
  return request('/s/menu/update', {
    method: 'POST',
    data: params,
  });
}

// 上移
export async function moveUp(params) {
  return request('/s/menu/moveUp', {
    method: 'POST',
    data: params,
  });
}

// 下移
export async function moveDown(params) {
  return request('/s/menu/moveDown', {
    method: 'POST',
    data: params,
  });
}


